package run.siyuan.manag.service;

import org.apache.ibatis.annotations.Param;
import run.siyuan.manag.entity.SysRole;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 *  角色表  服务类
 * </p>
 *
 * @author siyuan
 * @since 2021-01-13
 */
public interface SysRoleService extends IService<SysRole> {

    /**
     * 根据用户查询就是
     *
     * @param name
     * @return
     */
    SysRole getSysRoleByUserName(@Param("username") String name);
}
